Skip to content
This repository has been archived by the owner on Oct 10, 2018. It is now read-only.

Fixed schema support issue #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

vellengs
Copy link
Contributor

schema.properties can be empty. for example:

      "dateArrayRange": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "title": "日期范围",
            "default": [
                "2018-01-02",
                "2018-02-03"
            ],
            "widget": {
                "id": "date-range",
                "format": "YYYY-MM-DD"
            }
        }

the schema is only part of

 {
                "type": "string"
 }

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

Fixed schema support issue, 
schema.properties can be empty.  for example:
```
      "dateArrayRange": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "title": "日期范围",
            "default": [
                "2018-01-02",
                "2018-02-03"
            ],
            "widget": {
                "id": "date-range",
                "format": "YYYY-MM-DD"
            }
        }
```
the schema is only part of 
```
 {
                "type": "string"
 }
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant